-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #serializeBoxes function not output correct quadPoints values for deserialize (issue19056) #19066
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll leave the actual review for @calixteman, but there's a few things that you'll need to address before that.
- Squash the commit, see https://github.com/mozilla/pdf.js/wiki/Squashing-Commits, since we don't allow fixup/revert commits in PRs.
- Please include more than a single line in the commit message, such that a patch is possible to understand also on the Git command line.
711b4ad
to
891482b
Compare
d991d2c
to
92906b1
Compare
/botio integrationtest |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/675b389b789cd98/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/5c85ff11302748c/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/5c85ff11302748c/output.txt Total script time: 8.89 mins
|
@jarklee did you run the tests locally ? |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/675b389b789cd98/output.txt Total script time: 20.19 mins
|
…ghlight editor. Add test for quadPoints order while serializing.
/botio integrationtest |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.193.163.58:8877/e507e0213c838ae/output.txt |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/5b61ec8511ed724/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/5b61ec8511ed724/output.txt Total script time: 8.87 mins
|
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/e507e0213c838ae/output.txt Total script time: 20.30 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you.
This PR fixes the #serializeBoxes in the highlight editor to output the correct quadPoints sequence used by the deserialize method after the commit a62ceed introduce a conflict logic between two methods.
I also added the integration test to ensure both methods (#serializeBoxes and deserialize) always output the correct values for the serializing/deserializing process.
Reproduce step